﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERPStore.NewsLetters.Services
{
	public interface IEmailListSourceProvider
	{
		string SourceTypeId { get; }
		string DisplayName { get; }
		void Initialize(Models.EmailListSource source);
		IEnumerable<Models.EmailRecipient> GetList(int pageIndex, int pageSize, out int count);
		IList<ERPStore.Models.BrokenRule> Validate();
		string GetSerializedSettings();
	}
}
